package com.spark.shiro.service;

import com.spark.shiro.bean.PageBean;
import com.spark.shiro.bean.ResponseEntity;
import com.spark.shiro.entity.User;

import java.util.List;
import java.util.Set;

/**
 * Created by tyd on 2017-10-28.
 */
public interface UserService {

    User getUserByUserName(String userName);

    Set<String> getRolesByUserName(String userName);

    Set<String> getPermissionsByUserName(String userName);

    ResponseEntity<User> getUserListByPage(String userName,int currentPage);
}
